// tabs ----------
.ivu-tabs-card > .ivu-tabs-content > .ivu-tabs-tabpane {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
}
.ivu-tabs.ivu-tabs-card > .ivu-tabs-bar {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0;
    border-color: #fff;
}

// .ivu-tabs.ivu-tabs-card > .ivu-tabs-bar:before {
//     content: ' ';
//     position: absolute;
//     left: 0;
//     top: 31px;
//     right: 0;
//     height: 20px;
//     border: 1px solid #fff;
//     border-radius: 8px;
//     z-index: 0;
// }
.ivu-tabs.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab {
    border-color: transparent;
    background: #e0e0e6;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-left: 1px solid #e9eaec !important;
    border-top: 1px solid #e9eaec !important;
    border-right: 1px solid #e9eaec !important;
}
.ivu-tabs.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab-active {
    background: #fff;
}
.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab-active {
    border-color: #fff;
}
.ivu-tabs {
    overflow: visible !important;
}
.ivu-tabs-tab-focused {
    // border: none !important;
}
.ivu-tabs-nav .ivu-tabs-tab:hover{
    color: #495060;
}
// common-tabs-wrap ----------
.common-tabs-wrap > .ivu-tabs-card > .ivu-tabs-content {
    border-color: #e9eaec;
}
.common-tabs-wrap > .ivu-tabs-card > .ivu-tabs-content > .ivu-tabs-tabpane {
    background: #fff;
    padding: 16px 0;
    border: 1px solid #e9eaec;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.common-tabs-wrap  .ivu-card-head {
    background: #efeff1;
}
.common-tabs-wrap > .ivu-tabs.ivu-tabs-card > .ivu-tabs-bar {
    margin-bottom: 0;
    margin-left: 20px;
    margin-right: 20px;
    border-color: #e9eaec;
}
.common-tabs-wrap > .ivu-tabs.ivu-tabs-card > .ivu-tabs-bar:before {
    content: ' ';
    position: absolute;
    left: 0;
    top: 31px;
    right: 0;
    height: 20px;
    border: 1px solid #e9eaec;
    border-bottom: none;
    // border-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 0;
}
.common-tabs-wrap > .ivu-tabs.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab.ivu-tabs-tab-active {
    background: #fff;
    // border: 1px solid #e9eaec;
    // border-bottom: none;
    border-left: 1px solid #e9eaec !important;
    border-top: 1px solid #e9eaec !important;
    border-right: 1px solid #e9eaec !important;
}
.common-tabs-wrap > .ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab-active {
    border-color: #e9eaec;
}
.room-tabs {
    .ivu-tabs-tabpane{
        // min-height: 550px;
        padding-bottom: 0!important;
    }
}

// card ----------
.ivu-card {
    border-radius: 4px;
    background: #efeff1;
}
.ivu-card-bordered {
    border-color: #bbbec4;
}
.ivu-card.ivu-card-dis-hover.ivu-card-bordered:hover {
    border-color: #bbbec4;
}
.ivu-card-head {
    position: relative;
    height: 50px;
    // border-bottom: 1px dashed #bbbec4;
    // border-radius: 4px;
    background-color: #efeff1;
}
.ivu-card-head p {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    line-height: 50px;
    border-left: 5px solid #05bac5;
    // border-radius: 4px;
    font-size: 18px;
    padding-left: 16px;
}
.ivu-card-extra {
    top: 0;
    line-height: 50px;
}

// modal ----------
// .ivu-modal-wrap {
//     display: flex;
//     justify-content: center;
//     align-items: center;
// }
.ivu-modal {
    top: 20px;
}
.ivu-modal-header {
    border-left: 5px solid #05bac5;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    background: #efeff1;
}
.ivu-modal-footer {
    background: #efeff1;
    padding: 8px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

// yd ----------
.yd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 50px;
    line-height: 50px;
    background: #efeff1;
    border-left: 5px solid #05bac5;
    font-size: 18px;
    font-weight: bold;
    color: #5b5b5b;
    // border-radius: 4px;
    position: relative;
}
.yd-button {
    color: #05bac5;
    border-color: #05bac5;
}
.width-100{
    width: 100%;
}
.margin-top-8 {
    // margin-top: 8px;
}
.margin-top-10 {
    margin-top: 10px;
}
.margin-top-20 {
    margin-top: 20px;
}
.margin-top-30 {
    margin-top: 30px;
}
.margin-left-10 {
    margin-left: 10px;
}
.margin-left-20 {
    margin-left: 20px;
}
.margin-bottom-10 {
    margin-bottom: 10px;
}
.margin-bottom-20 {
    margin-bottom: 20px;
}
.margin-bottom-30 {
    margin-bottom: 30px;
}
.margin-bottom-100 {
    margin-bottom: 100px;
}
.margin-right-10 {
    margin-right: 10px;
}
.padding-left-6 {
    padding-left: 6px;
}
.padding-left-8 {
    padding-left: 5px;
}
.padding-left-10 {
    padding-left: 10px;
}
.padding-left-20 {
    padding-left: 20px;
}
.height-100 {
    height: 100%;
}
.height-120px {
    height: 100px;
}
.height-200px {
    height: 200px;
}
.height-492px {
    height: 492px;
}
.height-460px {
    height: 460px;
}
.clear-fix:after {
    content: '';
    display: table;
    clear: both;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.text-collapse{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right{
    text-align: right;
}
.line-gray{
    height: 0;
    border-bottom: 2px solid #dcdcdc;
}
.notwrap {
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.padding-left-5 {
    padding-left: 10px;
}
.border-bottom {
    border-bottom: 1px solid #ccc;
}
[v-cloak] {
    display: none;
}
.split-line {
    height: 1px;
    background: #dddee1;
    margin: 15px 0;
}

// menu
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item,
.ivu-menu-vertical .ivu-menu-item,
.ivu-menu-vertical .ivu-menu-submenu-title {
    padding: 10px 0 10px 35px;
}
.ivu-menu-submenu-title-icon {
    display: none;
}
.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item {
    padding-left: 50px !important;
}

.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active,
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active:hover {
    color: #05bac5;
    border-right: none !important;
    background: #363e4f !important;
}
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu),
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu) {
    border-right: none !important;
}

// button
.ivu-btn-error,
.ivu-btn-error:hover {
    background: transparent;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
}

.ivu-btn-success,
.ivu-btn-success:hover {
    background: transparent;
    border: 1px solid #59d583;
    color: #59d583;
}

// select
.ivu-select-single .ivu-select-selection .ivu-select-placeholder,
.ivu-select-single .ivu-select-selection .ivu-select-selected-value {
    height: 38px !important;
    line-height: 38px !important;
}

// UI 租务设备
.main .single-page-con .single-page {
    // margin: 10px !important;
    & > div {
        margin-top: 18px;
    }
    & > .access {
        margin-top: 0px;
    }
}
.ivu-card-head{
    .card-title{
        font-weight: bold;
    }
    p{
        font-weight: bold;
    }
}

.ivu-card-head-inner, .ivu-card-head p{
    font-weight: bold!important;
}

.ivu-card-body {
    background-color: #fff;
    padding: 14px 0;
    // padding: 15px 0 0 0 !important;
}


.no-border-card {
    background-color: #fff;
    .ivu-card-head {
        border-bottom: none;
        background-color: #efeff1;
    }
}

.bg-grey {
    .ivu-card-body {
        background-color: #f8f8f9;
    }
}
.config {
    .ivu-card-body {
        border: 1px solid #e9eaec;
    }
}

.ivu-form .ivu-form-item-label {
    padding: 10px 22px 10px 0;
}
.ivu-form-item {
    margin-bottom: 22px;    
}

.ivu-tabs-card > .ivu-tabs-content > .ivu-tabs-tabpane {
    padding: 15px 15px 15px 15px;
}
.ivu-tabs-card > .ivu-tabs-content > #padding15{
    padding: 15px 0
}
.ivu-icon-ios-search-strong {
    font-size: 26px;
    width: 38px;
    background-color: #05bac5;
    color: #fff;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.sidebar {
    .bg-grey .ivu-card-body {
        background: #fff;
    }
}
.main .single-page-con {
    overflow: auto;
    background-color: #efeff1 !important;
}

.ivu-page-options-elevator input {
    height: 32px;
    width: 42px;
}
.ivu-page-item{
    margin-right: 1px;
}
.ivu-page-prev{
    margin-right: 2px;
}
.ivu-page-next{
    margin-left: 0;
}
.ivu-page-item-jump-next, 
.ivu-page-item-jump-prev, 
.ivu-page-next, .ivu-page-prev,
.ivu-page-item
{
    min-width: 32px;
    height: 32px;
    line-height: 32px;
}
.single-page {
    min-width: 1100px;
}

.ivu-menu-submenu-title>i, .ivu-menu-submenu-title span>i {
    margin-right: 20px;
}
.vertical-center-modal {
    display: flex;
    align-items: center;
    justify-content: center;

    .ivu-modal {
        top: 0;
    }
}

.common-tabs-wrap > .ivu-tabs.ivu-tabs-card > .ivu-tabs-bar:before,
.ivu-tabs-bar,
.ivu-tabs-tabpane {
    // border: none !important;
}

.ivu-tabs-tab {
    border-color: transparent;
    background: #d5d5d5;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.ivu-card-head-inner,
.ivu-card-head p {
    color: #5b5b5b;
    font-weight: normal;
}

.ivu-card:hover {
    box-shadow: 0 0 0 0;
    // border: none;
}
.ivu-card{
    border: none;
}

.card-body-grey{
    background-color: #efeff1;
}
.main .layout-text {
    position: static !important;
    vertical-align: middle;
}
// 大号按钮
.btn-in-top-large {
    &:focus {
        box-shadow: 0 0 0 0;
    }
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    padding: 0px 10px;
    margin-right: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

// table
.ivu-table-wrapper {
    border: none;
    border-radius: 4px;
}
.ivu-table-tbody{
    background: #fff;
}
.ivu-table-border td, .ivu-table-border th{
    border-right: none;
}
.ivu-table th {
    background-color: #f8f8f9 !important;
    height: 50px;
    .ivu-checkbox-wrapper {
        display: none;
    }
}
.ivu-table td {
    background-color: transparent !important;
    height: 50px;
}

.ivu-table-row:hover {
    background-color: #fff;
    box-shadow: 0 2px 8px 0 #d0d0d0;
    td {
        background-color: transparent !important;
    }
}
.ivu-table-wrapper {
    border-radius: 4px;
    border: 1px solid #e9eaec;

    .ivu-table {
        border-radius: 4px;
    }
}
.ivu-table:after {
    width: 0;
}
.ivu-table:before {
    height: 0;
}

.ivu-table-row:hover{
    // box-shadow: 0 0px 5px 0 #d0d0d0 inset;
    background-color: #fff !important;

    td {
        background-color: transparent !important;
        // border-bottom: 2px solid #ddd;
        // border-image: -webkit-linear-gradient(#ddd,#f0f0f0) 30 30;
        // border-image: -moz-linear-gradient(#ddd,#f0f0f0) 30 30;
        // border-image: linear-gradient(#ddd,#f0f0f0) 30 30;
    }
}

// 房源
.select-all-house {
    .ivu-checkbox {
        margin-right: 10px;
    }
}

// model
.ivu-modal-body{
    font-size: 14px;
    padding: 18px 18px 0px 18px;
}
.empty-footer {
    .ivu-modal-footer {
        display: none;
    }
}
.flex-room {
    .ivu-input-group-prepend {
        background: #fff;
        padding: 0 3px;
    }
    .ivu-btn-ghost{
        background-color: #fff;
    }
}
.ivu-modal-footer{
    background-color: #fff;
    border-top: none;
    padding: 20px 0;
    text-align: center;
    div{
        text-align: center;
    }
    .ivu-btn-text{
        border: 1px solid #05bac5;
    }
}
.ivu-modal-confirm{
    padding: 0 4px 16px;
}
.ivu-modal-confirm-footer{
    margin-top: 20px;
}

// 分页
.ivu-page{
    margin: 45px 0 30px 0;
}

.ivu-select-multiple .ivu-tag {
    height: 32px;
    line-height: 32px;
    margin: 3px 4px 3px 0;
}
.ivu-progress-show-info .ivu-progress-outer{
    padding-right: 40px;
    margin-right: -40px;
}
.ivu-tooltip-inner{
    max-width: 300px;
    text-align: center;
}

.loading-loop{
    animation: loading-loop 1s linear infinite;
}
@keyframes loading-loop {
    from { transform: rotate(0deg);}
    50%  { transform: rotate(180deg);}
    to   { transform: rotate(360deg);}
}

.flex{
    display: flex
}

.flex-auto{
    flex: 1;
}

.flex-space-between{
    justify-content: space-between
}

.flex-justify-center{
    justify-content: center
}

.flex-align-center{
    align-items: center;
}

.flex-align-end{
    align-items: flex-end;
}

.full-tool,
.full-tool > .ivu-tooltip-rel{
    width: 100%;
}

.er-modal-eleAliPay {
    .ivu-modal-header {
        border: none;
        background: none;
        padding: 0;
    }
}

.agreement {
    .ivu-modal-header {
        border: none;
        background: none;
        padding: 0;
    }

    .ivu-modal-content {
        border-radius: 0px;
    }

    .ivu-modal-footer {
        padding: 0px;
    }

    .ivu-modal-body {
        padding: 0px;
    }
}

.er-alipay-recharge {
    .ivu-modal-header {
        border: none;
        background: none;
        padding: 0;
    }
    .ivu-modal-body {
        padding-top: 0px;
    }
    .ivu-carousel-track.higher {
        width: 100%;
    }
    .ivu-carousel-track {
        max-height: 487px;
        transition: all 0.3s;
    }
}

.alipay-special {
    .ivu-form-item-content {
        display: flex;
    }
}

.er-modal-recharge {
    .ivu-carousel-track.higher {
        max-height: 487px;
        transition: all 0.3s;
        padding-top: 20px;
    }
    .ivu-modal-header {
        border: none;
        background: none;
        padding: 0;
    }
    .ivu-modal-body {
        padding-top: 0px;
    }
}
.er {
    &-header {
        position: relative;

        &__list {
            list-style: none;
            display: flex;
            position: relative;
            z-index: 1;
        }

        &__item {
            width: 33.33333%;
            text-align: center;
            font-size: 14px;
            border-right: 1px solid rgba(151, 151, 151, .45);
            background: #EFEFF1;
            transition: all .3s;

            &:last-child {
                border:none;
            }
        }

        .active {
            border: none;
            background: none;
        }

        &__box {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            margin: 0 auto;
            color: #5B5B5B;

            &.is-active {
                border-bottom-color: rgb(0, 173, 247);
                color: #fff
            }
        }

        &__back {
            position: absolute;
            width: 0;
            height: 100%;
            left: 0px;
            top: 0px;
            background: #05bac5;
            z-index: 0;
            transition: all .3s;
        }
    }
}

.c-modal__close--outside{
    position: absolute;
    right: -40px;
    top: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.width-100p{
    width: 100%;
}
.ivu-tabs-tabpane>div{
    visibility: visible!important;
}

.poptip-content{
    padding: 8px 16px;
}

// .home-tabs.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab{
//     background-color: #fff!important;
//     border: 1px solid #BBBEC4!important;
//     border-bottom: none!important;
// }
// .home-tabs.ivu-tabs>.ivu-tabs-bar{
//     margin-left: 0!important;
// }
// .home-tabs.ivu-tabs>.ivu-tabs-content>.ivu-tabs-tabpane{
//     border-radius: 0!important;
//     border: 1px solid #BBBEC4!important;
//     border-top: none;
//     background-color: #fff!important;
//     padding-left: 0!important;
//     padding-right: 0!important;
// }

.take-photo-modal {
    .ivu-modal-mask {
        z-index: 1001;
    }

    .ivu-modal-wrap {
        z-index: 1010;
    }
}
.ivu-input, .ivu-select-selection {
    border-color: #e9eaec;
}

.no-btn-border {
    .ivu-btn-ghost, .ivu-btn-error, .ivu-btn-error:hover{
        border: none;
    }
}

.ivu-poptip-popper {
    min-width: 188px;
}

.config {
    .ivu-switch-disabled {
        border-color: #ccc;
    }
}

.room {
    .common-tabs-wrap > .ivu-tabs-card > .ivu-tabs-content > .ivu-tabs-tabpane {
        background: #fff;
    }
}


.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab {
    margin-right: 8px;
    border:1px solid #e9eaec;
    border-bottom: none;
}
// .ivu-col-span-18{
//     width: 90%
// }
.ivu-table-overflowX, .ivu-table-tip {
    overflow-x: hidden;
}
.c-ticket-item:hover {
    box-shadow: 0 8px 8px 0 rgba(0,0,0,.1) 
}
.ivu-message {
    z-index: 10000!important;   
}

.take-photo-modal {
    video {
        width: 100%;
    }
}
